ComponentOne FlexPivot for WinForms
C1.Win.C1FlexGrid.4.5.2 Assembly / C1.Win.C1FlexGrid Namespace / C1FlexGridBase Class / AddItem Method / AddItem(Object[],Int32,Int32) Method
Array of objects that will be assigned to the new row.
Position where the new row will be inserted.
First column to populate with the items in the items array. This parameter is usually set to the index of the first scrollable column.

In This Topic
    AddItem(Object[],Int32,Int32) Method
    In This Topic
    Adds a row to the grid at a specified position and populates the new row with data.
    Syntax
    'Declaration
     
    Public Overloads Function AddItem( _
       ByVal items() As Object, _
       ByVal rowIndex As Integer, _
       ByVal colIndex As Integer _
    ) As Row
    public Row AddItem( 
       object[] items,
       int rowIndex,
       int colIndex
    )

    Parameters

    items
    Array of objects that will be assigned to the new row.
    rowIndex
    Position where the new row will be inserted.
    colIndex
    First column to populate with the items in the items array. This parameter is usually set to the index of the first scrollable column.

    Return Value

    A reference to the new row.
    See Also